package com.aidex.biz.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aidex.common.utils.log.annotation.FieldRemark;
import com.aidex.common.utils.log.annotation.LogField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;

/**
 * 预约上门对象 biz_to_home
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2023-11-23
 */
@Data
public class ToHome extends BaseEntity<ToHome> {
    private static final long serialVersionUID = 1L;

    /**
     * 客户ID
     */
    @Excel(name = "客户ID")
    private String customerId;

    /**
     * 上门时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上门时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date toHomeTime;

    /**
     * 上门时间开始
     */
    private String beginToHomeTime;

    /**
     * 上门时间结束
     */
    private String endToHomeTime;
    /**
     * 预约上门时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预约上门时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yuyueTime;

    /**
     * 预约上门时间开始
     */
    private String beginYuyueTime;

    /**
     * 预约上门时间结束
     */
    private String endYuyueTime;
    /**
     * 是否作废
     */
    @Excel(name = "是否作废")
    private Integer tuofei;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 状态（0待上门 1已上门）
     */
    private String status;
    /**
     * q签约 0 未设置 1待签约 2已签约
     */
    private Integer qyStatus;

    private String cusName;
    private String phone;
    private Integer isFanKui;
    /**
     * 门店
     */
    private String companyNames;
    /**
     * 是否发送短信
     */
    private Integer isSms;

    /**
     * 邀请码
     */
    private String inviteCode;

    /**
     * 客户经理
     */
    private String currentUserName;

    /**
     * 是否即将上门
     */
    private Integer isNear;

    /**
     * 邀约信息
     */
    private String content;

    /**
     * 洽谈室号
     */
    private String meetingRoom;

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public Date getToHomeTime() {
        return toHomeTime;
    }

    public void setToHomeTime(Date toHomeTime) {
        this.toHomeTime = toHomeTime;
    }

    public Date getYuyueTime() {
        return yuyueTime;
    }

    public void setYuyueTime(Date yuyueTime) {
        this.yuyueTime = yuyueTime;
    }

    public Integer getTuofei() {
        return tuofei;
    }

    public void setTuofei(Integer tuofei) {
        this.tuofei = tuofei;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("userName", getUserName())
                .append("deptName", getDeptName())
                .append("companyId", getCompanyId())
                .append("customerId", getCustomerId())
                .append("toHomeTime", getToHomeTime())
                .append("yuyueTime", getYuyueTime())
                .append("tuofei", getTuofei())
                .append("sort", getSort())
                .append("status", getStatus())
                .append("remark", getRemark())
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createDept", getCreateDept())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("updateIp", getUpdateIp())
                .append("version", getVersion())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
